<%@ Page Language="vb" AutoEventWireup="false" Codebehind="ViewProvincalMemberApplicants.aspx.vb" Inherits="Secure.ViewProvincalMembers" smartNavigation="True" enableViewStateMac="False"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title>Viewing All Applicants</title>
		<meta content="JavaScript" name="vs_defaultClientScript" />
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema" />
		<link href="Styles.css" type="text/css" rel="stylesheet" />
	</head>
	<body >
		<form id="Form1" method="post" runat="server">
			<!-- #Include File="Header.aspx" -->
			<asp:textbox id="txtMemberID" style="Z-INDEX: 100; LEFT: 176px; POSITION: absolute; TOP: 224px"
				runat="server"  Visible="False">0</asp:textbox>
			<asp:textbox id="txtAffiliate" style="Z-INDEX: 101; LEFT: 344px; POSITION: absolute; TOP: 224px"
				runat="server" Visible="False">0</asp:textbox>
			<asp:Label ID="lblTitle" Runat="server" CssClass="NenaHeading">
				Update Applicants for: 
			</asp:Label>
			<h3>This Page allows you to:</h3>
			<asp:label id="Label1" Runat="server">Update Applicants to Paid Members</asp:label><br />
			<hr />
			<asp:datagrid id="dtgNewMembers" runat="server" ShowFooter="True" AutoGenerateColumns="False"
				SelectedItemStyle-CssClass="DataGridSelected" ItemStyle-CssClass="DataGridItems" HeaderStyle-CssClass="DataGridHeader"
				Width="100%">
				<SelectedItemStyle CssClass="DataGridSelected"></SelectedItemStyle>
				<ItemStyle CssClass="DataGridItems"></ItemStyle>
				<HeaderStyle CssClass="DataGridHeader"></HeaderStyle>
				<Columns>
					<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="Update" HeaderText="Commands" CancelText="Cancel"
						EditText="Edit Member"></asp:EditCommandColumn>
					<asp:TemplateColumn HeaderText="Member Name">
						<ItemTemplate>
							<asp:Label ID="lblMemberLastName" Text='<%# DataBinder.Eval(Container.DataItem, "LastName") %>' Runat="server" />,
							<asp:Label ID="lblMemberFirstName" Text='<%# DataBinder.Eval(Container.DataItem, "FirstName") %>' Runat="server" />
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn HeaderText="Affiliate">
						<ItemTemplate>
							<asp:Label ID="lblMemberAffiliate" Text='<%# DataBinder.Eval(Container.DataItem, "affiliate_description") %>' Runat="server" />
							<asp:Label ID="lblMemberID" visible="false" Text='<%# DataBinder.Eval(Container.DataItem, "Member_ID") %>' Runat="server" />
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn HeaderText="Paid">
						<ItemTemplate>
							<asp:Label id="lblMemberPaid" Runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Paid") %>'>
							</asp:Label>
						</ItemTemplate>
						<EditItemTemplate>
							<asp:DropDownList id="ddlMemberPaid" runat="server" DataValueField="ID" DataTextField="Description" DataSource="<%# Create_Paid_Array() %>">
							</asp:DropDownList>
						</EditItemTemplate>
					</asp:TemplateColumn>
				</Columns>
				<PagerStyle NextPageText="Next" PrevPageText="Previous" Mode="NumericPages"></PagerStyle>
			</asp:datagrid>
			<asp:datagrid id="DG_AffiliateSummary" runat="server" ShowFooter="True" AutoGenerateColumns="False"
				SelectedItemStyle-CssClass="DataGridSelected" ItemStyle-CssClass="DataGridItems" HeaderStyle-CssClass="DataGridHeader"
				Width="100%">
				<ItemStyle CssClass="DataGridItems"></ItemStyle>
				<HeaderStyle CssClass="DataGridHeader"></HeaderStyle>
				<Columns>
					<asp:TemplateColumn HeaderText="Member Status">
						<ItemTemplate>
							<asp:Label ID="Label2" Text='<%# DataBinder.Eval(Container.DataItem, "StatusDescription") %>' Runat="server" />
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn HeaderText="Total">
						<ItemTemplate>
							<asp:Label ID="Label4" Text='<%# DataBinder.Eval(Container.DataItem, "TCount") %>' Runat="server" />
						</ItemTemplate>
					</asp:TemplateColumn>
				</Columns>
				<PagerStyle NextPageText="Next" PrevPageText="Previous" Mode="NumericPages"></PagerStyle>
			</asp:datagrid>
			<asp:textbox id="txtAffiliateID" runat="server" Visible="False">0</asp:textbox>
			<hr />
			<h3>Notes: </h3>
			- If you need to remove a member from your application list, please back to the <a href="http://membership.nena.ca/secure">main menu</a> <br />
			Select 'Update Member Demographics', Select the member from the list, Select Load <br />
			On the bottom of the screen there is a button labeled 'Set Member as Expired'; this will remove any applying member from the membership list.<br />
		</form>
	</body>
</html>
